<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'MusicInfo.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
  body {
	text-align: center;
	line-height:42px;
	font-family:宋体;
	font-weight: bold;
	color:#FFFFFF;
	background-color: #000000;
	
}
.temp {
	margin: 0 auto;
	width: 1160px;
	border: 0px solid;
	text-align: center;
}
 </style>
  </head>
  
  <body>
  <jsp:include page="../head.jsp"></jsp:include>
  <div class="temp">
      <table style="table-layout:fixed;">
        	<tr>
        		<td>歌曲名:</td>
        		<td>封面：</td>
        		<td>音符数：</td>
        		<td>BPM:</td>
        		<td>难度:</td>
        		<td>时长：</td>
        		<td>Note制作人：</td>
        		<td>音乐制作人：</td>
        		<td>热度 :</td>
        		<td>歌曲描述:</td>
        	</tr>
        	<tr>
        		<td><s:property value="o2ranksongs.mname" />  </td>
        		<td><img src="./songimg/<s:property value="o2ranksongs.mid" />.jpg" width="80" height="60" /></td>
        		<td><s:property value="o2ranksongs.easynote" />/<s:property value="o2ranksongs.normalnote" />/<s:property value="o2ranksongs.hardnote" /></td>
        		<td><s:property value="o2ranksongs.bpm" /></td>
        		<td><s:property value="o2ranksongs.easylevel" />/<s:property value="o2ranksongs.normallevel" />/<s:property value="o2ranksongs.hardlevel" /></td>
        		<td><s:property value="o2ranksongs.mtime" /></td>
        		<td><s:property value="o2ranksongs.maker" /></td>
        		<td><s:property value="o2ranksongs.writer" /></td>
        		<td><s:property value="o2ranksongs.hot" /></td>
        		<td> </td>
        	</tr>
        </table>
        <br/>
        <table style="table-layout:fixed;">
			<tr>
				<td>游戏时间</td>
				<td>玩家昵称</td>
				<td>难度</td>
				<td>速度</td>
				<td>cool</td>
				<td>good</td>
				<td>bad</td>
				<td>miss</td>
				<td>连击</td>
				<td>jam</td>
				<td>分数</td>
				<td>完成度</td>
				<td>单曲实力值评分</td>
				<td>战绩重现</td>
			</tr>
		<s:iterator value="#request.list" id="game">
			<tr>
				<td><s:property value="#game.date" />
					</td>
					<td><s:property value="#game.nickname" />
					</td>
					<td><s:property value="#game.mhard" />
					</td>
					<td>X<s:property value="#game.pspeed" />
					</td>
					<td><s:property value="#game.cool" />
					</td>
					<td><s:property value="#game.good" />
					</td>
					<td><s:property value="#game.bad" />
					</td>
					<td><s:property value="#game.miss" />
					</td>
					<td><s:property value="#game.combo" />
					</td>
					<td><s:property value="#game.jam" />
					</td>
					<td><s:property value="#game.score" />
					</td>
					<td><s:property value="#game.finish" />%</td>
					<td><s:property value="#game.capable" />
					</td>
					<td><a href="forwordimage.html?id=<s:property value="#game.id" />">战绩重现</a></td>
			</tr>
		</s:iterator>
	</table>
        
    </div>
    <jsp:include page="../foot.jsp"></jsp:include>
  </body>
</html>
